project "SandboxApp"
    kind "ConsoleApp"
    language "C++"
    cppdialect "C++17"
    staticruntime "on"

    targetdir ("%{wks.location}/build/target/" .. outputdir .. "/%{prj.name}")
    objdir ("%{wks.location}/build/obj/" .. outputdir .. "/%{prj.name}")

    files
    {
        "**.h",
        "**.cpp"
    }

    includedirs
    {
        "%{wks.location}/DM/src",
        "%{IncludeDir.STATIC_INCLUDE}",
        "%{IncludeDir.IMGUI}"
    }
    libdirs "%{wks.location}/DM/vendor/lib"
    links
    {
        "DM",
         "libcairo.a"
    }

    filter "system:windows"
        systemversion "latest"

        defines
        {			
            "DM_PLATFORM_WINDOWS"
        }

    filter "configurations:Debug"
        defines "DM_DEBUG"
        runtime "Debug"
        symbols "on"

    filter "configurations:Release"
        defines "DM_RELEASE"
        runtime "Release"
        optimize "on"